package com.wdl.modules.myhouse.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @author 昏昏的君
 */
@Data
public class FileVo implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "id")
    private Long id;

    @ApiModelProperty(value = "等同于id")
    private Long fileId;

    @ApiModelProperty(value = "文件类型id")
    private Integer  fileTypeId;

    @ApiModelProperty(value = "文件类型名")
    private String  fileTypeName;

    @ApiModelProperty(value = "文件名")
    private String fileName;

    @ApiModelProperty(value = "文件地址")
    private String fileUrl;

    @ApiModelProperty(value = "文件标签")
    private String fileTag;

    @ApiModelProperty(value = "文件描述信息")
    private String fileDescribe;

    @ApiModelProperty(value = "文件图片信息")
    private byte[] fileImg;

    @ApiModelProperty(value = "文件大小")
    private Float fileSize;

    @ApiModelProperty(value = "图片地址")
    private String imgUrl;

    @JsonFormat(pattern = "yyyy年MM月dd日",timezone="Asia/Shanghai")
    private Date uploadTime;

    private Integer collection;
    private Integer likes;
    private Integer comments;
    private String downloadLinks;
    private String article;
    private String articleTitle;
    private String sourceLink;



}
